//
//  TestScreenController.m
//  OC_Test_01
//
//  Created by IOS3 on 2018/10/19.
//  Copyright © 2018年 IOS3. All rights reserved.
//

#import "TestScreenController.h"

@interface TestScreenController ()

@property (nonatomic, strong) UITableView *tableView;

@end

@implementation TestScreenController

- (void)viewDidLoad {
    [super viewDidLoad];
    self.view.backgroundColor = UIColor.blueColor;
    
    UITableView *tableView = [[UITableView alloc] init];
    tableView.backgroundColor = UIColor.redColor;
    tableView.contentInsetAdjustmentBehavior = UIScrollViewContentInsetAdjustmentNever;
    
    CGFloat screenWidth = UIScreen.mainScreen.bounds.size.width;
    CGFloat screenHeigth = UIScreen.mainScreen.bounds.size.height;
    tableView.frame = CGRectMake(0,
                                 64,
                                 screenWidth,
                                 screenHeigth - self.navigationController.navigationBar.frame.size.height - self.tabBarController.tabBar.frame.size.height);
    [self.view addSubview: tableView];
    
    self.tableView = tableView;
}




@end
